Optimal. Leaf size=22 \[ a^2 x+a b x^2+\frac {b^2 x^3}{3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 0, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} a^2 x+a b x^2+\frac {b^2 x^3}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rubi steps
\begin {align*} \int \left (a^2+2 a b x+b^2 x^2\right ) \, dx &=a^2 x+a b x^2+\frac {b^2 x^3}{3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 22, normalized size = 1.00 \begin {gather*} a^2 x+a b x^2+\frac {b^2 x^3}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 13, normalized size = 0.59
method | result | size |
default | \(\frac {\left (b x +a \right )^{3}}{3 b}\) | \(13\) |
norman | \(a^{2} x +a b \,x^{2}+\frac {1}{3} b^{2} x^{3}\) | \(21\) |
risch | \(a^{2} x +a b \,x^{2}+\frac {1}{3} b^{2} x^{3}\) | \(21\) |
gosper | \(\frac {x \left (b^{2} x^{2}+3 a b x +3 a^{2}\right )}{3}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{3} \, b^{2} x^{3} + a b x^{2} + a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.84, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{3} \, b^{2} x^{3} + a b x^{2} + a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 19, normalized size = 0.86 \begin {gather*} a^{2} x + a b x^{2} + \frac {b^{2} x^{3}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.80, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{3} \, b^{2} x^{3} + a b x^{2} + a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 20, normalized size = 0.91 \begin {gather*} a^2\,x+a\,b\,x^2+\frac {b^2\,x^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________